<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>

    <script type="text/javascript" src="{{ URL::asset('/') }}jquery.js"></script>
    <script type="text/javascript" src="{{ URL::asset('/') }}admin/ckeditor/ckeditor.js"></script>
    <style>
        body{
            margin-left: 10%;
            line-height: 60px
        }
        .addbutton{
            width: 200px;
            height: 35px;
            margin-bottom: 20px;
        }
        input{
            border: 1px solid #000000;
            width: 350px;
            height: 40px;
        }
		input.type{
            border: 1px solid #000000;
            width: 200px;
            height: 40px;
        }
        select{
            border: 1px solid #000000;
            width: 350px;
            height: 40px;
        }
        table{
            width: 900px;
        }
		table.td{
            width: 100px;
        }
    </style>
</head>
<body>
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
<section>
<h2><strong style="color:grey;"></strong></h2>
<div class="page_title">
<h2 class="fl">职位发布</h2>
</div>
<form action="{{ URL('admin/postofficeAdd') }}" method="get">
<table>    
    <tr>
        <th><font color='red'>*</font> 职位类别 :</th>
        <td>
            <select name="position_id" id="position_id" style="font-size:20px;font-family:隶书;">
			<option value="---请选择---">---请选择---</option>
             <?php foreach($arr['position'] as $key=>$val){?>
			  <option value="<?php echo $val->position_id?>"><?php echo $val->position_name?></option>
			   <?php foreach($val->child as $k=>$v){?>
                <option value="<?php echo $v->position_id?>">——<?php echo $v->position_name?></option>
				 <?php foreach($v->child as $value){?>
				  <option value="<?php echo $value->position_id?>">————<?php echo $value->position_name?></option>
                 <?php }?> 
			   <?php }?>
			 <?php }?>
			 </select>
        </td>
    </tr>
	<tr>
        <th><font color='red'>*</font> 职位名称 :</th>
        <td class="input"><input type="text" style="font-size:20px" placeholder="请输入职位名称，如：产品经理" name="position_names"/></td>
    </tr>
    
    <tr>
        <th><font color='red'>*</font> 月薪范围 :</th>
        <td>
		 <select  name="pay_id" style="font-size:20px;font-family:隶书;">
              <option value="---请选择---">---请选择---</option>
			 <?php foreach($arr['pay'] as $key=>$val){?>
			  <option value="<?php echo $val->pay_id?>"><?php echo $val->pay_name?></option>
			 <?php }?>
		 </select>
        </td>
    </tr>
	
	
	<tr>
        <th><font color='red'>*</font> 公司所在城市 :</th>
        <td>
            <select  name="city_id" style="font-size:20px;font-family:隶书;">
              <option value="---请选择---">---请选择---</option>
			 <?php foreach($arr['city'] as $key=>$val){?>
			  <option value="<?php echo $val->city_id?>"><?php echo $val->city_name?></option>
			 <?php }?>
			</select>
        </td>
    </tr>
	<tr>
        <th><font color='red'>*</font> 工作经验 :</th>
        <td>
		<select  name="suffer_id" style="font-size:20px;font-family:隶书;">
              <option value="---请选择---">---请选择---</option>
			 <?php foreach($arr['suffer'] as $key=>$val){?>
			  <option value="<?php echo $val->suffer_id?>"><?php echo $val->suffer_name?></option>
			 <?php }?>
		 </select>
		</td>
    </tr>
	<tr>
        <th><font color='red'>*</font> 学历要求 :</th>
        <td>
		  <select  name="background_id" style="font-size:20px;font-family:隶书;">
              <option value="---请选择---">---请选择---</option>
			 <?php foreach($arr['background'] as $key=>$val){?>
			  <option value="<?php echo $val->background_id?>"><?php echo $val->background_name?></option>
			 <?php }?>
		 </select>
        </td>
    </tr>
	<tr>
        <th><font color='red'>*</font> 职位诱惑 :</th>
        <td><textarea name="position_lure" style="font-size:20px;" placeholder="20字描述该职位的吸引力，如：福利待遇、发展前景等" rows="1" cols="60"></textarea></td>
    </tr>
    <tr>
        <th><font color='red'>*</font> 工作职责 :</th>
        <td>
            <textarea name="position_duty" id="ckeditor"></textarea>
            <script>CKEDITOR.replace('ckeditor');</script>
        </td>
    </tr>
	<tr>
        <th><font color='red'>*</font> 工作要求 :</th>
        <td>
            <textarea name="position_require" id="ckeditors"></textarea>
            <script>CKEDITOR.replace('ckeditors');</script>
        </td>
    </tr>
	<tr>
        <th><input type="reset" style="width:100px;color:#6633cc;" value="取消"></th>
        <td><input type="submit" style="width:100px;color:#6633cc;" value="发布"></td>
    </tr>
</table>
</form>
</section>
 </div>
</section>
</body>
</html>
